<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>首页</title>
  <link rel="stylesheet"  href="/thinkphp1/Public/Css/admin.css"/>
</head>
<body>
      <div class="top">
          <div class="t_main w mt">
            <span><b>WE TEAM</b>商城后台管理系统</span>
            <div class="t_right fr">
              欢迎
              <?php echo $_SESSION['admin']['name']; ?>
              <a href="<?php echo U('Login/loginout');?>">❤退出❤</a>
            </div>
          </div>
      </div>
      <div class="main">
        <div class="main_left fl">
          <ul>
            <a href="<?php echo U('Goods/Index');?>">
              <li>
                <span class="lm_ico"></span>
                <b>商品管理</b>
                <span class="left_ico"></span>  
              </li>
              </a>
              <a href="<?php echo U('Category/Index');?>">
                <li>
                  <span class="lm_ico"></span>
                  <b>分类管理</b>
                  <span class="left_ico"></span>
                </li>
              </a>
              <a href="<?php echo U('User/index');?>">
                <li>
                  <span class="lm_ico"></span>
                  <b>用户管理</b>
                  <span class="left_ico"></span>
                </li>
              </a>
              <a href="<?php echo U('Order/index');?>">
                <li>
                  <span class="lm_ico"></span>
                  <b>订单管理</b>
                  <span class="left_ico"></span>
                </li>
              </a>
              <a href="<?php echo U('Arguments/index');?>">
                <li>
                  <span class="lm_ico"></span>
                  <b>评论管理</b>
                  <span class="left_ico"></span>
                </li>
              </a>
              <a href="<?php echo U('Addver/index');?>">
                <li>
                  <span class="lm_ico"></span>
                  <b>广告管理</b>
                  <span class="left_ico"></span>
                </li>
              </a>
            </ul>
          </div>
          <div class="main_right fr">
        <div class="main_m">
            
      <block name="table">
        <!-- 好看的表格 -->
	      <table class="table" border="1" cellspacing="0" cellpadding="5" align="center">
	      	<h2>商品详情</h2>
	      	<br/>
	      	<form action="<?php echo U('doMore',['id'=>$list['gid']]);?>" method="post">
	        <tr>
	          <td>编号</td>
	          <td><?php echo ($list['gid']); ?></td>
	        </tr>
	        <tr>
	          <td>商品名称</td>
	          <td><?php echo ($list['gname']); ?></td>
	        </tr>
	        <tr>
	          <td>库存</td>
	          <td><?php echo ($list['gk']); ?></td>
	        </tr>
	        <tr>
	          <td>商品图片</td>
	          <td><img src="<?php echo ($list['giname']); ?>"></td>
	        </tr>
	        <tr>
	          <td>是否封面</td>
	          <td><?php echo ($list['gif']); ?></td>
	        </tr>
	         <tr>
	          <td>商品描述</td>
	          <td><textarea name="db"><?php echo ($list['db']); ?></textarea></td>
	        </tr>
	        <tr>
	          <td>操作</td>
	          <td><input type="submit" value="修改描述"></td>
	        </tr>
			</form>
	      </table>
      
        </div>  
      </div>
        </div>
        <div id="footer">
          
        </div>
        </body>
      </html>